| Fully Qualified Name: | CodeIgniter\Encryption\Handlers\OpenSSLHandler |
| Extends: | BaseHandler |
Encryption handling for OpenSSL library
| Name | Description | Defined By |
|---|---|---|
| __construct() | Initialize OpenSSL, remembering parameters | OpenSSLHandler |
| __get() | __get() magic, providing readonly access to some of our properties | BaseHandler |
| __isset() | __isset() magic, providing checking for some of our properties | BaseHandler |
| decrypt() | Decrypt ciphertext, with optional HMAC and base64 encoding | OpenSSLHandler |
| encrypt() | Encrypt plaintext, with optional HMAC and base64 encoding | OpenSSLHandler |
Initialize OpenSSL, remembering parameters
| Parameter Name | Type | Description |
|---|---|---|
| $config | \BaseConfig |
Returns:
__get() magic, providing readonly access to some of our properties
| Parameter Name | Type | Description |
|---|---|---|
| $key | string | Property |
Returns: mixed
__isset() magic, providing checking for some of our properties
| Parameter Name | Type | Description |
|---|---|---|
| $key | string | Property |
Returns: bool
Decrypt ciphertext, with optional HMAC and base64 encoding
| Parameter Name | Type | Description |
|---|---|---|
| $data | string | Encrypted |
| $params | array | Over-ridden |
Returns: string
Encrypt plaintext, with optional HMAC and base64 encoding
| Parameter Name | Type | Description |
|---|---|---|
| $data | string | Input |
| $params | array | Over-ridden |
Returns: string